body {
    background-color: #5c768d;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/*动态背景效果*/
.data-stream {
    position: absolute;
    color: #67D9E3FF;
    font-family: 'Consolas', monospace;
    font-size: 40px;
    white-space: nowrap;
    animation: dataFlow 6s linear infinite;
    opacity: 0.5;
    text-shadow: 0 0 8px rgba(0, 247, 255, 0.85);
}

@keyframes dataFlow {
    0% {
        transform: translateY(-100vh) scale(0.8);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
        transform: translateY(-50vh) scale(1);
    }

    80% {
        opacity: 0.5;
        transform: translateY(80vh) scale(1);
    }

    100% {
        transform: translateY(100vh) scale(0.8);
        opacity: 0;
    }
}

/* 每个数据流设置不同的延迟 */
.data-stream:nth-child(1) {
    animation-delay: 0s;
}

.data-stream:nth-child(2) {
    animation-delay: -1.2s;
}

.data-stream:nth-child(3) {
    animation-delay: -2.4s;
}

.data-stream:nth-child(4) {
    animation-delay: -3.6s;
}

.data-stream:nth-child(5) {
    animation-delay: -4.8s;
}

.box {
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    position: relative;
}

.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

.header a,h2 {
    margin: 0;
    color: gray;
    font-size: 2vh;
    cursor: pointer;
    text-decoration: none;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: dimgray;
}

.input-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #17BAF9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button a{
    text-decoration: none;
    color: white;
}

button:hover {
    background-color: #0056b3;
}

.footer {
    font-size: 0.9vw;
    color: white;
    width: 100%;
    text-align: center;
    padding: 1.4rem 0;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 0;
}